MINIMUM
MINIMUM

Syntax: MINIMUM [ ( array ) ]
    or: MINIMUM ( { value } )
   and: MINIMUM% [ ( array ) ]
    or: MINIMUM% ( { value } )
Location: Minmax (DIY Toolkit - Vol Z)

The effect of this function depends on the parameter supplied.

If no parameter is supplied, then the smallest possible floating point number supported by the QL is returned.

If a single parameter is supplied which is a single dimensional floating point array, then MINIMUM will return the value of the smallest number stored within that array.  If you want to compare the values of an integer array, then use MINIMUM%.

If, however, you use the second variant to pass a list of values (either numbers or variables), then the lowest value out of those parameters will be returned

MINIMUM% is the same, except for integer values.

Example:
PRINT MINIMUM%
Returns -32768

CROSS-REFERENCE:
MATMIN and MIN are similar.
Refer also to MAXIMUM.
